package cn.chennian.deploy.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 默认
 *
 * @author ningchang
 */
@Api(value = "默认", tags = "默认")
@RestController
@RequestMapping(value = "index")
public class IndexController {

    @GetMapping(value = "hello")
    @ApiOperation("hello")
    public String hello() {
        return "hello world";
    }


}
